package com.thwj.project.pay.domain;

    import java.math.BigDecimal;
    import com.baomidou.mybatisplus.annotation.*;
    import lombok.*;;
    import java.io.Serializable;
import com.thwj.common.annotation.Excel;
import com.baomidou.mybatisplus.extension.activerecord.Model;

/**
 * 微信退款交易信息对象 wx_refund_info
 *
 * @author generate
 * @date 2023-06-12
 */

@Getter
@Setter
@ToString
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName("wx_refund_info")
public class WxRefundInfo extends Model<WxRefundInfo>{
private static final long serialVersionUID=1L;

    /** 主键 */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 订单id */
            @Excel(name = "订单id")
    private Long orderId;

    /** 订单号 */
            @Excel(name = "订单号")
    private String orderNum;

    /** 退款单id */
            @Excel(name = "退款单id")
    private Long refundOrderId;

    /** 退款交易号 */
            @Excel(name = "退款交易号")
    private String outRefundNo;

    /** 原始外部交易号 */
            @Excel(name = "原始外部交易号")
    private String outTradeNo;

    /** 应退金额 */
            @Excel(name = "应退金额")
    private BigDecimal refundMoney;

    /** 请求数据 */
            @Excel(name = "请求数据")
    private String requestData;

    /** 返回数据 */
            @Excel(name = "返回数据")
    private String responseData;

    /** appid */
            @Excel(name = "appid")
    private String appid;

    /** much_id */
            @Excel(name = "much_id")
    private String muchId;




    @Override
    public Serializable pkVal() {
        return this.id;
    }
}
